package com.test.qpbgboot.base.service;

import com.test.qpbgboot.user.pojo.entity.PersonalAccountLog;

import java.util.Map;
import java.util.UUID;

public interface PayService {
    static String generateOrderNo() {
        return String.valueOf(System.currentTimeMillis()).substring(5)
                + UUID.randomUUID().toString().replace("-","").substring(0,24);
    }

    String payByAlipay(PersonalAccountLog accountLog, String notifyUrlSuffix,
                       String returnUrlSuffix);

    void payNotifyByAlipay(Map<String, String> params);
}
